package com.taxi.driver.module.main.mine.wallet.rules;

import com.taxi.driver.common.BasePresenter;
import com.taxi.driver.data.config.ConfigRepository;

import javax.inject.Inject;

public class RulesPresenter extends BasePresenter implements RulesContract.Presenter {

    private RulesContract.View mView;
    private ConfigRepository mConfigRepository;

    @Inject
    public RulesPresenter(RulesContract.View view, ConfigRepository configRepository) {
        mView = view;
        mConfigRepository = configRepository;
    }

    @Override
    public String getRuleExplain() {
        return mConfigRepository.getRuleExplain();
    }
}
